package com.cy.train.business.service;

import com.cy.train.business.domain.TrainStation;
import com.cy.train.business.req.TrainStationQueryReq;
import com.cy.train.business.req.TrainStationSaveReq;
import com.cy.train.business.resp.TrainStationQueryResp;
import com.cy.train.common.resp.PageResp;

import java.util.List;

public interface TrainStationService {
    void save(TrainStationSaveReq req);

    PageResp<TrainStationQueryResp> queryList(TrainStationQueryReq req);

    void delete(Long id);

    List<TrainStation> queryTrainStationByCode(String trainCode);
}